Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Require deleteMetadata to metadata manager #419

Merged
merged 6 commits into from
Mar 6, 2025

Conversation

lkostrowski
Copy link
Member

No description provided.

@lkostrowski lkostrowski requested a review from a team as a code owner March 6, 2025 07:23
Copy link

changeset-bot bot commented Mar 6, 2025

🦋 Changeset detected

Latest commit: 9165c95

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@saleor/app-sdk Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

codecov bot commented Mar 6, 2025

Codecov Report

Attention: Patch coverage is 66.66667% with 1 line in your changes missing coverage. Please review.

Project coverage is 82.11%. Comparing base (8dc8d4a) to head (9165c95).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/settings-manager/metadata-manager.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #419      +/-   ##
==========================================
+ Coverage   81.66%   82.11%   +0.45%     
==========================================
  Files         107      107              
  Lines        3502     3501       -1     
  Branches      593      594       +1     
==========================================
+ Hits         2860     2875      +15     
+ Misses        626      610      -16     
  Partials       16       16              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

/**
* Keep it optional, to avoid breaking changes. If not provided, delete will throw.
* TODO: Make it required in next major version
*/
deleteMetadata?: DeleteMetadataCallback;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Question: shouldn't we make it required?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes XD

lkostrowski and others added 4 commits March 6, 2025 12:50
Co-authored-by: Krzysztof Żuraw <9116238+krzysztofzuraw@users.noreply.github.com>
@lkostrowski lkostrowski merged commit 6875d17 into main Mar 6, 2025
8 checks passed
@lkostrowski lkostrowski deleted the require-delete-metadata branch March 6, 2025 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants